package com.qsw.fileoperatelib.bean;

import java.util.Arrays;

/**
 * 二维数组
 */
public class TwoDimenArray<T> {
    private T[][] array;
    private int column;
    private int row;

    public TwoDimenArray(T[][] array, int column, int row) {
        this.array = array;
        this.column = column;
        this.row = row;
    }

    public T[][] getArray() {
        return array;
    }

    public void setArray(T[][] array) {
        this.array = array;
    }

    public int getColumn() {
        return column;
    }

    public void setColumn(int column) {
        this.column = column;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    @Override
    public String toString() {
        return "TwoDimenArray{" +
                "array=" + Arrays.toString(array) +
                ", column=" + column +
                ", row=" + row +
                '}';
    }
}
